﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Animals
{
    public class AnimalNameChangedEventArgs: EventArgs
    {
        private string oldName;
        private string newName;

        public AnimalNameChangedEventArgs(string oldName, string newName)
        {
            this.oldName = oldName;
            this.newName = newName;
        }

        public string OldName
        {
            get
            {
                return oldName;
            }
            set
            {
                oldName = value;
            }
        }

        public string NewName
        {
            get
            {
                return newName;
            }
            set
            {
                newName = value;
            }
        }
    }
}
